package oop.ex2.main;

/**
 * This class is in charge of outputting a double in the format specified in the assignments.
 * Any class that wants to print a double uses this.
 * @author daniel_i_l
 *
 */
public class OutputFormatter {
	private static final String FORMATTING = "%.5f\n";
	
	/**
	 * Print a double in the format specified in the assignment.
	 * @param output The double to print.
	 */
	public static  void printOutput(double output)
	{
		System.out.printf(FORMATTING, output);
	}
}
